package com.android.nfctouch.ui.activity;

import android.widget.TextView;

import com.android.baselibrary.view.Comm_HeadView;
import com.android.baselibrary.view.MultiStateView;
import com.android.nfctouch.R;
import com.android.nfctouch.manager.SysConfigHelper;

import butterknife.BindView;

public class AboutUsActivity extends BaseActivity {

    @BindView(R.id.multiplestatusView)
    MultiStateView multiplestatusView;
    @BindView(R.id.comm_title)
    Comm_HeadView comm_title;
    @BindView(R.id.tv_content)
    TextView tv_content;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_aboutus;
    }

    @Override
    protected void initView() {
        comm_title.setTitle("关于我们");

//        tv_name.setText("关于"+ getString(R.string.app_name)+ "app");

        tv_content.setText(SysConfigHelper.getConfig(SysConfigHelper.Config_About_us));
    }

    @Override
    protected void initData() {
        getData();
    }

    private void getData() {
//        API_Manager.sendcode(mContext, "", new OkHttpCallBack<BaseResponce<String>>() {
//            @Override
//            public void onSuccess(BaseResponce<String> baseResponce) {
//                CommToast.showToast(mContext, "发送成功");
//            }
//
//            @Override
//            public void onFailure(BaseResponce<String> baseResponce) {
//                CommLoading.dismissLoading();
//                CommToast.showToast(mContext, Constants.NetError);
//            }
//        });
    }

//    @OnClick({R.id.tv_sendcode})
//    public void onViewClicked(View view) {
//        switch (view.getId()) {
//            case R.id.tv_sendcode:
//                break;
//        }
//    }
}
